home *** CD-ROM | disk | FTP | other *** search
- package com.extensibility.xa.undo;
-
- import com.extensibility.xml.ContentModelTerm;
-
- class CMTextUndoable$1$Counter implements ContentModelTerm.Visitor {
- // $FF: synthetic field
- final CMTextUndoable this$0;
- int count;
-
- CMTextUndoable$1$Counter(CMTextUndoable var1) {
- this.this$0 = var1;
- this.count = 0;
- }
-
- public void visit(ContentModelTerm var1) {
- if (var1.isGroup() && var1.getOwner() == this.this$0.elemDecl) {
- ++this.count;
- }
- }
-
- public int getCount() {
- return this.count;
- }
- }
-